package com.example.houduan.common.lang.common;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class NameAndPassword {
    @NotBlank(message = "用户名不能为空")
    String name;
    @NotBlank(message = "旧密码不能为空")
    String oldpassword;
    @NotBlank(message = "新密码不能为空")
    String newpassword;
}
